Namespace - LJCNetCommon
Parameters
text - The text value.
Returns
True if a library type, otherwise false.
Syntax
C# |
public Boolean IsLibType(String text)
|
Check if the text is a LibType. (E)
Example
C# |
using LJCNetCommon;
var tokenizer = new CodeTokenizer();
string text = " private List<string> list;"
tokenizer.SetTokens(text);
short tokenIndex = 1;
string token = tokenizer.GetToken(tokenIndex);
int prefixCount = 0;
string stripToken = tokenizer.StripQualifier(token, ref prefixCount);
bool isLibType = tokenizer.IsLibType(stripToken);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.